package com.monkey.core.domain.icon;

/**
 * Project  : monkey
 * Author   : Wu Tian Qiang
 * Date     : 2016/10/18
 */
public enum IconType {
    SIZE16("16"),
    SIZE64("64") {
        @Override
        public int getIconHeight() {
            return 100;
        }
    },
    VECTOR("vector");

    private String label;

    IconType(String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }

    /**
     * 显示图标时，div的高度
     */
    public int getIconHeight() {
        return 50;
    }
}
